
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="../resources/amaze-full/css/amazeui.custom.min.css">
    <link rel="stylesheet" href="../resources/css/assess.css">

</head>
<body>
<div class="carsouse-wrap block">

        <div class="nav-option">

            <div class="sort">
                <span class="title">排序：</span>
                <span class="normal active">综合排序<i class="am-icon-level-down"></i></span>
                <span class="orderprice">价格<i class="am-icon-caret-down"></i></span>
                <span class="orderyear">使用年限<i class="am-icon-caret-down"></i></span>
                <span class="orderpeople">人气<i class="am-icon-level-down"></i></span>
            </div>

                <div class="page">
                    <span>共搜索到<i id="totalnum"></i>个商品额<em>|</em>
                    <i class="textpage"></i>
                    </span>
                </div>

        </div>

    <div class="list-body" id="carlist"></div>
        
    <script type="text/html" id="carlisttpl">
         
         <% for (var i = 0 ; i < data.rows.length; i++) {%>
                
                <% if (i%4==0) {%>
                    
                    <ul class="am-avg-sm-4 am-thumbnails">
             <li>
                <a href="<%=data.rows[i].catIdPath%>">
                    <div class="img-box">
                        <img  data-lazyload="<%=#imgFormat(data.rows[i].iconUrl,'280x210.png')%>" alt=""/>
                        <span class="btns"><button class="btn-del" data-id="<%=data.rows[i].id%>">取消代理</button><button class=" btn-sure" data-id="<%=data.rows[i].id%>">确认代理</button></span>
                    </div>
                    <div class="txt-box">
                        <p class="title"><%=data.rows[i].name%></p>
                        <p class="intro"><%=dateFormatHelp(data.rows[i].licenseDate,'YYYY-MM-DD')%> 上牌｜<%=data.rows[i].driverMileage%></p>
                        <p class="prices"><span class="price">￥<%=data.rows[i].goodsPrice%></span><span class="intro">｜定金：<%=data.rows[i].promiseAmount%>元</span></p>
                    </div>
                </a>
            </li>

                <%} else if(i%4==3) {%>
            <li>
                <a href="<%=data.rows[i].catIdPath%>">
                    <div class="img-box">
                        <img  data-lazyload="<%=#imgFormat(data.rows[i].iconUrl,'280x210.png')%>" alt=""/>
                        <span class="btns"><button class="btn-del" data-id="<%=data.rows[i].id%>">取消代理</button><button class=" btn-sure" data-id="<%=data.rows[i].id%>">确认代理</button></span>
                    </div>
                    <div class="txt-box">
                        <p class="title"><%=data.rows[i].name%></p>
                        <p class="intro"><%=dateFormatHelp(data.rows[i].licenseDate,'YYYY-MM-DD')%> 上牌｜<%=data.rows[i].driverMileage%></p>
                        <p class="prices"><span class="price">￥<%=data.rows[i].goodsPrice%></span><span class="intro">｜定金：<%=data.rows[i].promiseAmount%>元</span></p>
                    </div>
                </a>
            </li>
                    </ul>
                <%} else {%>

            <li>
                <a href="<%=data.rows[i].catIdPath%>">
                    <div class="img-box">
                        <img  data-lazyload="<%=#imgFormat(data.rows[i].iconUrl,'280x210.png')%>" alt=""/>
                        <span class="btns"><button class="btn-del" data-id="<%=data.rows[i].id%>">取消代理</button><button class=" btn-sure" data-id="<%=data.rows[i].id%>">确认代理</button></span>
                    </div>
                    <div class="txt-box">
                        <p class="title"><%=data.rows[i].name%></p>
                        <p class="intro"><%=dateFormatHelp(data.rows[i].licenseDate,'YYYY-MM-DD')%> 上牌｜<%=data.rows[i].driverMileage%></p>
                        <p class="prices"><span class="price">￥<%=data.rows[i].goodsPrice%></span><span class="intro">｜定金：<%=data.rows[i].promiseAmount%>元</span></p>
                    </div>
                </a>
            </li>

               <%}%>

            <%}%>
                </ul>
            <ul class="am-pagination"></ul>
    </script>
</div>

<div class="am-modal am-modal-no-btn" tabindex="-1" id="pop-modal">
      <div class="am-modal-dialog">
        <div class="am-modal-bd">
        </div>
      </div>
    </div>

<script src="../resources/js/module/jquery-1.11.0.js"></script>
<script src="../resources/js/module/template-native.js"></script>
<script src="../resources/js/module/urlparas.js"></script>
<script src="../resources/js/module/jquery.lazyload.js"></script>
<script src="../resources/js/module/holder.min.js"></script>
<script src="../resources/js/module/jquery.cookie.js"></script>
<script src="../resources/js/module/jquery.downCount.js"></script>
<script src="../resources/js/module/jquery.page.js"></script>
<script src="../resources/js/module/jquery.slideunlock.js"></script>
<script src="../resources/js/module/masonry.pkgd.min.js"></script>
<script src="../resources/js/module/moment-with-locales.min.js"></script>
<script src="../resources/js/module/simple-calendar.js"></script>
<script src="../resources/js/module/tinyscrollbar.js"></script>
<script src="../resources/js/module/webuploader.js"></script>
<script src="../resources/js/module/webuploader.min.js"></script>
<script src="../resources/js/module/validator.js"></script>
<script src="../resources/amaze-full/js/amazeui.custom.js"></script>
<script src="../resources/js/common.js"></script>
<script src="../resources/js/tplCommon.js"></script>
<!-- 页面配置 -->
<script src="../resources/js/config/config.js"></script>
<script src="../resources/js/car_list.js"></script>
</body>
</html>